//
//  UserManager.m
//  SLDemo
//
//  Created by bocai on 2016/12/2.
//  Copyright © 2016年 Heracles. All rights reserved.
//

#import "UserManager.h"

@implementation UserManager

+ (instancetype)sharedManager
{
    static UserManager *manager;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        manager = [UserManager new];
    });
    return manager;
}

- (void)loginWithUserName:(NSString *)userName
                 password:(NSString *)password
{
    
}

- (void)logout
{
    
}

- (void)registerWithUserName:(NSString *)userName
                    password:(NSString *)password
{
    
}

- (BOOL)isLoggedIn
{
    return _account ? YES : NO;
}
@end
